//
//  SQLiteManager.h
//  SQL(OC)
//
//  Created by 姚英 on 16/6/21.
//  Copyright © 2016年 yy. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SQLiteManager : NSObject

+(instancetype)shareSQLiteManager;

- (BOOL)openDB:(NSString *)dbPath;
- (BOOL)exec:(NSString *)sqlStr;
///
- (void)beginTransation;
- (void)commitTransation;
- (void)rollbackTransation;
///
- (NSArray *)queryData:(NSString *)querySQLStr;
-(BOOL)executeData:(NSString *)SQLStr;
@end
